home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 4
/
PC World Interactive 4.iso
/
share
/
internet
/
LSMIRC61.EXE
/
salias.in_
/
salias.in
Wrap
INI File
|
1997-09-12
|
16KB
|
414 lines
[aliases]
n0=;
n1=; This section contains aliases for option initialization and reloading
n2=;
n3=readoptions {
n4= .disable #detmul
n5= clearchaninfo
n6= %n = 0
n7= :chan
n8= inc %n
n9= set %temp $ro(Channel,Chan [ $+ [ %n ] ] )
n10= if %temp != $null {
n11= set %end $calc($pos(%temp,Mode:) - 6)
n12= set %start $calc($pos(%temp,Mode:) + 5)
n13= set %chan $mid(%temp,6,%end)
n14= set %option $ro(Channel,Option [ $+ [ %chan ] ] )
n15= set %check $ro(Channel,Check [ $+ [ %chan ] ] )
n16= if %chan = Unspecified_Channels {
n17= set %chan other
n18= set %repeatinother $ro(Channel,Unspecified_ChannelsRepeat)
n19= set %anyoneother $ro(CustomJoin,Unspecified_Channelsanyone)
n20= }
n21= else {
n22= set %repeatin [ $+ [ %chan ] ] $ro(Channel, [ [ %chan ] $+ Repeat ] )
n23= set %haveoptions [ $+ [ %chan ] ] $true
n24= if (%notinit) echo 3 -a Adding %chan
n25= set %idlekickafter [ $+ [ %chan ] ] $ro(Channel, [ [ %chan ] $+ IdleKick ] )
n26= set %botnick [ $+ [ %chan ] ] $ro(Channel, [ [ %chan ] $+ BotNick ] )
n27= set %botpass [ $+ [ %chan ] ] $ro(Channel, [ [ %chan ] $+ BotPass ] )
n28= set %anyone [ $+ [ %chan ] ] $ro(CustomJoin, [ [ %chan ] $+ anyone ] )
n29= }
n30= set %end $pos(%temp,Cen:) | set %pos %end | dec %end %start
n31= set %mode [ $+ [ %chan ] ] $mid(%temp,%start,%end)
n32= set %right $len(%temp) | dec %right %pos | dec %right 3
n33= set %cen $right(%temp,%right)
n34= set %pos $pos(%cen,$chr(44))
n35= %left = %pos - 1
n36= set %right $len(%cen)
n37= dec %right %pos
n38= set %censoris [ $+ [ %chan ] ] $left(%cen,%left)
n39= set %censorin [ $+ [ %chan ] ] $right(%cen,%right)
n40= %i = -2
n41= :check
n42= inc %i
n43= set %pos $pos(%check,$chr(44))
n44= if %pos != $null {
n45= set %misc [ $+ [ %i ] ] $left(%check,$calc(%pos - 1))
n46= set %check $right(%check,$calc($len(%check) - %pos))
n47= goto check
n48= }
n49= set %enforcemode [ $+ [ %chan ] ] %misc0
n50= set %bitch [ $+ [ %chan ] ] %misc1
n51= set %serverop [ $+ [ %chan ] ] %misc2
n52= set %massdeop [ $+ [ %chan ] ] %misc3
n53= set %masskick [ $+ [ %chan ] ] %misc4
n54= set %opops [ $+ [ %chan ] ] %misc5
n55= set %opmasters [ $+ [ %chan ] ] %misc6
n56= set %autovoice [ $+ [ %chan ] ] %misc7
n57= set %oppass [ $+ [ %chan ] ] %misc8
n58= set %protecto [ $+ [ %chan ] ] %misc9
n59= set %monitor [ $+ [ %chan ] ] %misc10
n60= set %matchbans [ $+ [ %chan ] ] %misc11
n61= set %serverbans [ $+ [ %chan ] ] %misc12
n62= set %peak [ $+ [ %chan ] ] %misc13
n63= set %whois [ $+ [ %chan ] ] %misc14
n64= set %excclients [ $+ [ %chan ] ] %misc15
n65= if (%misc15) .enable #detmul
n66= set %clone [ $+ [ %chan ] ] %misc16
n67= set %joinflood [ $+ [ %chan ] ] %misc17
n68= set %nickflood [ $+ [ %chan ] ] %misc18
n69= set %textflood [ $+ [ %chan ] ] %misc19
n70= set %tsunf [ $+ [ %chan ] ] %misc20
n71= set %antiexclam [ $+ [ %chan ] ] %misc21
n72= set %longword [ $+ [ %chan ] ] %misc22
n73= set %capskicker [ $+ [ %chan ] ] %misc23
n74= set %colorkick [ $+ [ %chan ] ] %misc24
n75= set %opbots [ $+ [ %chan ] ] %misc25
n76= set %havecustom [ $+ [ %chan ] ] %misc26
n77= set %idlekick [ $+ [ %chan ] ] %misc27
n78= set %repeatkick [ $+ [ %chan ] ] %misc28
n79= set %voiceall [ $+ [ %chan ] ] %misc29
n80= set %requestops [ $+ [ %chan ] ] %misc30
n81= unset %misc*
n82= %i = -2
n83= :option
n84= inc %i
n85= set %pos $pos(%option,$chr(44))
n86= if %pos != $null {
n87= set %misc [ $+ [ %i ] ] $left(%option,$calc(%pos - 1))
n88= set %option $right(%option,$calc($len(%option) - %pos))
n89= goto option
n90= }
n91= set %deopall [ $+ [ %chan ] ] %misc1
n92= set %peaknotice [ $+ [ %chan ] ] %misc3
n93= set %whoisopped [ $+ [ %chan ] ] %misc4
n94= set %whoisalways [ $+ [ %chan ] ] %misc5
n95= set %kickclone [ $+ [ %chan ] ] %misc6
n96= set %noticeclone [ $+ [ %chan ] ] %misc7
n97= set %namecensor [ $+ [ %chan ] ] %misc10
n98= set %namecensorban [ $+ [ %chan ] ] %misc11
n99= if (%namecensorban [ $+ [ %chan ] ] ) set %namecensor [ $+ [ %chan ] ] $true
n100= set %censorall [ $+ [ %chan ] ] %misc13
n101= set %censorunrec [ $+ [ %chan ] ] %misc14
n102= set %banafter [ $+ [ %chan ] ] %misc16
n103= set %opexdeop [ $+ [ %chan ] ] %misc18
n104= set %opexkick [ $+ [ %chan ] ] %misc19
n105= %j = 0
n106= :setchans
n107= inc %j
n108= if %chan = other set %name Unspecified_Channels
n109= else set %name %chan
n110= set %temp Cen $+ [ %name ] $+ [ %j ]
n111= set %temp $ro(Channel,%temp)
n112= if %temp != $null {
n113= %i = 0
n114= :channame
n115= inc %i
n116= set %pos $pos(%temp,`)
n117= if %pos != $null {
n118= set [ %cenchan ] $+ [ %chan ] $+ [ %i ] $left(%temp,$calc(%pos - 1))
n119= set %temp $right(%temp,$calc($len(%temp) - %pos))
n120= goto channame
n121= }
n122= goto setchans
n123= }
n124= goto chan
n125= }
n126= set %ver $ro(general,Version)
n127= set %lsver $ro(general,LSVersion)
n128= set %mynick $ro(general,MyNick)
n129= set %nspd $ro(general,NickServPass)
n130= set %cspd $ro(general,ChanServPass)
n131= set %xpd $ro(general,XPass)
n132= set %wpd $ro(general,WPass)
n133= set %usespecific $ro(general,SpecificLists)
n134= set %temp $ro(general,Female)
n135= if (%temp) { set %hisorher her | set %himorher her | set %heorshe she }
n136= else { set %hisorher his | set %himorher him | set %heorshe he }
n137= set %temp $ro(general,Misc)
n138= %i = -1
n139= :misc
n140= inc %i
n141= set %pos $pos(%temp,$chr(44))
n142= if %pos != $null {
n143= set %misc [ $+ [ %i ] ] $left(%temp,$calc(%pos - 1))
n144= set %temp $right(%temp,$calc($len(%temp) - %pos))
n145= goto misc
n146= }
n147= set %textis %misc0
n148= set %textin %misc1
n149= set %joinis %misc2
n150= set %joinin %misc3
n151= set %nickis %misc4
n152= set %nickin %misc5
n153= set %soundis %misc6
n154= set %soundin %misc7
n155= set %excclientsis %misc8
n156= set %longwordis %misc9
n157= set %capsis %misc10
n158= set %bantime %misc11
n159= set %exclagis %misc12
n160= set %maxmodes %misc13
n161= unset %misc*
n162= set %allsound $ro(ctcp,SoundAll)
n163= set %ulsound $ro(ctcp,SoundUser)
n164= set %rsendauto $ro(ctcp,RecSendAuto)
n165= set %rsendask $ro(ctcp,RecSendAsk)
n166= set %rchatask $ro(ctcp,RecChatAsk)
n167= set %rchatauto $ro(ctcp,RecChatAuto)
n168= set %usendask $ro(ctcp,UnrecSendAsk)
n169= set %usendauto $ro(ctcp,UnrecSendAuto)
n170= set %uchatauto $ro(ctcp,UnrecChatAuto)
n171= set %uchatask $ro(ctcp,UnrecChatAsk)
n172= set %permban $ro(ctcp,PermBan)
n173= set %permignore $ro(ctcp,PermIgnore)
n174= set %notbys $ro(ctcp,NotBySound)
n175= set %dontkick $ro(ctcp,DontKick)
n176= set %kickmsg $rm(1)
n177= set %kickbanmsg $rm(2)
n178= set %default $rm(3)
n179= set %textfloodmsg $rm(4)
n180= set %joinfloodmsg $rm(5)
n181= set %ghostmsg $rm(6)
n182= set %clonemsg $rm(7)
n183= set %antiecxlammsg $rm(8)
n184= set %massdeopmsg $rm(9)
n185= set %masskickmsg $rm(10)
n186= set %nickfloodmsg $rm(11)
n187= set %longwordmsg $rm(12)
n188= set %invitemsg $rm(13)
n189= set %shutupmsg $rm(14)
n190= set %ircopkick $rm(15)
n191= set %excclientsmsg $rm(16)
n192= set %exccensormsg $rm(17)
n193= set %quitmsg $rm(18)
n194= set %fsend $rm(19)
n195= set %wont $rm(20)
n196= set %autokickmsg $rm(21)
n197= set %colorkickmsg $rm(22)
n198= set %autoawaymsg $rm(23)
n199= if %autoawaymsg = $null set %autoawaymsg auto-away
n200= set %autofserve1 $ro(FileServer,AutoInitiate1)
n201= set %autofserve2 $ro(FileServer,AutoInitiate2)
n202= set %fsenforceratio $ro(FileServer,EnforceRatio)
n203= set %fservcheck $ro(FileServer,CheckExisting)
n204= set %maxgets $ro(FileServer,MaxGets)
n205= if (%fsenforceratio) set %fservratio $ro(FileServer,Ratio)
n206= else set %fservratio 0
n207= set %startingcredits $ro(FileServer,StartingCredits)
n208= set %autoword1 $ro(FileServer,InitiateOn1)
n209= set %autoword2 $ro(FileServer,InitiateOn2)
n210= set %fservepath1 $ro(FileServer,Directory1)
n211= set %fservepath2 $ro(FileServer,Directory2)
n212= set %fsask $ro(FileServer,Ask)
n213= set %fsauto $ro(FileServer,AutoAccept)
n214= set %fsrefuse $ro(FileServer,Refuse)
n215= unset %cenword*
n216= %i = 0
n217= :setword
n218= inc %i
n219= set %temp $ro(Censor,Word [ $+ [ %i ] ] )
n220= if %temp != $null {
n221= set %cenword [ $+ [ %i ] ] %temp
n222= goto setword
n223= }
n224= set %getnick $ro(other,GetNick)
n225= set %reset $ro(other,ResetSessionLogs)
n226= set %keepme $ro(other,KeepMeConnected)
n227= set %cycleops $ro(other,CycleOps)
n228= set %minfs $ro(other,MinFSsend)
n229= set %minsend $ro(other,MinRegSend)
n230= set %osound $ro(other,OtherSounds)
n231= set %revenge $ro(other,Revenge)
n232= set %seen $ro(other,EnableSeen)
n233= set %askforfile $ro(other,RequestFiles)
n234= set %log $ro(Other,SessionLogging)
n235= set %nochataway $ro(other,NoChatAway)
n236= set %lagcheck $ro(other,LagCheck)
n237= set %botlog $ro(other,BotLiteLogging)
n238= set %invite $ro(other,InviteKick)
n239= set %banlist $ro(other,BanListActive)
n240= set %botlite $ro(other,BotLiteEnabled)
n241= set %autoaway $ro(other,AutoAway)
n242= set %underscore $ro(other,AutoUnderscore)
n243= set %alertnick $ro(other,AlertOnMyNick)
n244= set %enableping $ro(other,EnablePing)
n245= set %altrejoin $ro(other,AlternateRejoin)
n246= set %altconnect $ro(other,AlternateServer)
n247= set %autogreet $ro(other,AutoGreet)
n248= set %infolines $ro(other,InfoLines)
n249= set %autoget $ro(other,AutoGet)
n250= set %autoident $ro(other,AutoIdentify)
n251= set %ncstart $read -l1 $mircdiroptions\colors.txt
n252= set %ncend $read -l2 $mircdiroptions\colors.txt
n253= unset %greet*
n254= set %greetstart $read -l3 $mircdiroptions\colors.txt
n255= set %greetend $read -l4 $mircdiroptions\colors.txt
n256= loadxdccoptions
n257=}
n258=rdo return $readini $mircdiroptions\av.ini Options [ n $+ [ $1 ] ]
n259=rdc return $readini $mircdiroptions\av.ini Checks [ n $+ [ $1 ] ]
n260=loaddisplay {
n261= %i = -1
n262= :nx
n263= inc %i
n264= set %temp $readini $mircdiroptions\av.ini Colors [ n $+ [ %i ] ]
n265= if (%temp != $null) { set %dis [ $+ [ %i ] ] $+ %temp | goto nx }
n266= set %temp $rdo(0)
n267= if (%temp) { set %ekick $true | set %ckick $true }
n268= else {
n269= set %temp $rdo(1)
n270= if (%temp) { set %ekick $true | set %ckick $false }
n271= else set %ekick $false
n272= }
n273= set %temp $rdo(8)
n274= if (%temp) set %dis18 -s %dis18
n275= else set %dis18 -a %dis18
n276= set %temp $rdo(4)
n277= if (%temp) { set %dis5 -a %dis5 | set %uech $false }
n278= else {
n279= set %temp $rdo(5)
n280= if (%temp) { set %dis5 -s %dis5 | set %uech $false }
n281= else set %uech $true
n282= }
n283= set %temp $rdo(6)
n284= if (%temp) { set %dis11 -s %dis11 | set %dis33 -s %dis33 | set %dis34 -s %dis34 }
n285= else { set %dis11 -a %dis11 | set %dis33 -a %dis33 | set %dis34 -a %dis34 }
n286= set %temp $rdo(10)
n287= if (%temp) set %dis31 -s %dis31
n288= else set %dis31 -a %dis31
n289= set %eflood $rdc(0)
n290= set %acPING $rdc(1)
n291= set %acVERSION $rdc(2)
n292= set %acCLIENTINFO $rdc(3)
n293= set %acUSERINFO $rdc(4)
n294= set %acFINGER $rdc(5)
n295= set %acTIME $rdc(6)
n296= set %euser $rdc(7)
n297= set %altnotify $rdc(8)
n298= set %ranmon $false
n299=}
n300=;
n301=; reload routine... this is called thru dde by the options program
n302=;
n303=checkmynick if ((%getnick) && ($me != %mynick)) getnick
n304=reload {
n305= echo 3 -a Reloading options...
n306= readoptions
n307= .timers off
n308= speaktome
n309= startchecking
n310= if $server != $null {
n311= .timer 1 3 checkmynick
n312= if undernet isin $server set %type AlwaysUndernet
n313= elseif dal.net isin $server set %type AlwaysDalnet
n314= else set %type AlwaysOther
n315= %i = 0 | unset %alwaysjoin*
n316= :alwaysjoin
n317= inc %i
n318= set %temp $ro(%type,Chan [ $+ [ %i ] ] )
n319= if %temp != $null {
n320= set %alwaysjoin [ $+ [ %i ] ] %temp
n321= goto alwaysjoin
n322= }
n323= if (%alwaysjoin1 != $null) { alwaysjoin | .timer 0 30 alwaysjoin }
n324= if (%lagcheck) {
n325= titlebar Little Star 6.1 $me on $server $+ : $+ $port Lag: waiting for info
n326= .timer101 0 120 getlag | getlag
n327= }
n328= else titlebar Little Star 6.1 $me on $server $+ : $+ $port
n329= .timer 0 600 /raw -q PRIVMSG $!me : $+ $chr(1) $+ PONG Anti-Idle! $+ $chr(1)
n330= if (%cycleops) .timer 0 15 cycleops
n331= }
n332= .timer 0 300 idlecheck
n333= if (%excclients) .enable #detmul
n334= else .disable #detmul
n335= if ((%reset) && (%log)) write -c $mircdirlogs\session.log
n336= if (%botlite) .enable #bot
n337= else .disable #bot
n338= echo 4 -a Updated options in effect!
n339= halt
n340=}
n341=clearchaninfo {
n342= unset %haveoptions* | unset %mode* | unset %idlekick* | unset %botnick* | unset %opbots*
n343= unset %censoris* | unset %censorin* | unset %enforcemode* | unset %bitch*
n344= unset %serverop* | unset %massdeop* | unset %masskick* | unset %opops*
n345= unset %opmasters* | unset %autovoice* | unset %oppass* | unset %protecto*
n346= unset %monitor* | unset %matchbans* | unset %serverbans* | unset %peak*
n347= unset %whois* | unset %excclients* | unset %clone* | unset %joinflood*
n348= unset %nickflood* | unset %textflood* | unset %tsunf* | unset %antiexclam*
n349= unset %longword* | unset %capskicker* | unset %colorkick* | unset %deopall*
n350= unset %kickclone* | unset %noticeclone* | unset %namecensor* | unset %namecensorban*
n351= unset %censorall* | unset %censorunrec* | unset %banafter* | unset %cenchan*
n352= unset %botpass* | unset %repeat* | unset %anyone* | unset %repeatkick*
n353= unset %voiceall* | unset %requestops* | unset %opex* | unset %havecustom*
n354=}
n355=popopt {
n356= set %temp $readini $mircdiroptions\options.ini Popups [ n $+ [ $1 ] ]
n357= if %temp = $null return $true
n358= return %temp
n359=}
n360=loadpopups {
n361= if ($popopt(0)) set %popxdcc XDCC
n362= else unset %popxdcc
n363= if ($popopt(1)) set %popdestruct Destruction
n364= else unset %popdestruct
n365= if ($popopt(2)) set %poprunapp Run Application
n366= else unset %poprunapp
n367= if ($popopt(3)) set %popmass Mass Destruction
n368= else unset %popmass
n369= if ($popopt(4)) set %popnserv Nick Serv
n370= else unset %popnserv
n371= if ($popopt(5)) set %popmserv Memo Serv
n372= else unset %popmserv
n373= if ($popopt(6)) set %popeggnl Eggdrop Commands
n374= else unset %popeggnl
n375= if ($popopt(7)) set %popcserv Channel Services
n376= else unset %popcserv
n377= if ($popopt(8)) set %popeggqc Eggdrop Commands
n378= else unset %popeggqc
n379= if ($popopt(9)) set %popfsqc File Server
n380= else unset %popfsqc
n381= if ($popopt(10)) set %popflood Floods
n382= else unset %popflood
n383= if ($popopt(11)) set %popsec Security Options
n384= else unset %popsec
n385= if ($popopt(12)) set %popfilter Filter Kicks
n386= else unset %popfilter
n387= if ($popopt(13)) set %popmatch Match Ops List
n388= else unset %popmatch
n389=}
n390=usbl {
n391= set %block1 Random Whois Reply
n392= set %block2 Dynamite2
n393= set %block3 Hooker
n394= set %block4 Hummer
n395= set %block5 Nads
n396= set %block6 Nuts
n397= set %block7 Silencer Shoot
n398= set %block8 Butt Armor
n399= set %block9 Caution
n400= set %block10 Dick
n401= set %block11 Face
n402= set %block12 Fuck Off
n403= set %block13 Fuck You
n404= set %block14 Kiss This
n405= set %block15 Lonely
n406= set %block16 Moon
n407= set %block17 Resuscitation
n408= set %block18 She pays me
n409= set %block19 Suck
n410= set %block20 Other Insults
n411=}